package com.eastjet.maintenance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eastjet.maintenance.domain.TypePart;

import java.util.List;

/**
* @author 杨博文
* @description 针对表【type_part(备件类型)】的数据库操作Mapper
* @createDate 2024-11-25 09:23:39
* @Entity com.eastjet.pojo.domain.TypePart
*/
public interface TypePartMapper extends BaseMapper<TypePart> {
    /*
      查询所有父级
       */
    List<TypePart> SelectAllTypePart(TypePart typePart);

    /*
    查询所有子级
     */
    List<TypePart> SelectAllTypePartByParentId(TypePart typePart);
}




